#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
int& fun(int& d, int& e)
{
	
	cout << &e << endl;
	cout << &d << endl;
	int c = d + e;
	cout << &c << endl;
	return c;
}
int main()
{
	int a = 1, b = 2;
	int& c = fun(a, b);
	cout << &c << endl;
	
	return 0;
}